package net.pinnoocle.playdao.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * 阿里云oss配置(OssConfig)表实体类
 *
 * @author ye
 * @since 2021-10-28 15:28:31
 */
@SuppressWarnings("serial")
@Data
@TableName("oss_config")
public class OssConfig extends Model<OssConfig> {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    
    private String accessKey;
    
    private String secretKey;
    //空间名
    private String bucketName;
    //空间域名
    private String endpoint;
    //是否使用 0 否 1 是
    private Integer isOpen;
    //创建时间
    private Date createdTime;
}